import {Component,OnInit} from '@angular/core';


import { LivePageService } from './live.page.service';

import {LiveBase} from './live.base';

@Component({
  selector:'app-live',
  templateUrl:'./live.page.html',
  styleUrls:['./live.page.css'],
  providers:[LivePageService]
})

export class LivePage extends LiveBase{

  // 参数
  param: any = {
    nick:'',
    page: 0,
    start: 0,
    rows: 10
  };

  constructor(public service:LivePageService){
    super(service);
  }

  search(){

    this.getHttp(this.param);

  }

  ngOnInit(){

    this.getHttp(this.param);

  }



}
